Check box (CheckBox) controls are used to provide a user with an option that can be on or off. A user can change the state of a check box control by touching it. TestComplete provides extended support for Android check box controls.
TestComplete analyzes the control class names and automatically creates wrapper Android CheckBox
test objects for check box controls. These objects contain specific methods and properties for simulating user actions on check boxes and for retrieving their data.
Supported check box classes are listed in the project’s Object Mapping options. You can extend this list, for example, add the class name of a custom check box control used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Object Mapping.
Note: | The described support is available only if the tested Android application is Open, that is, if it was prepared for TestComplete (see Preparing Android Applications (Legacy)). |
The topics in this section provide detailed information about working with check box controls in TestComplete and contain script samples that illustrate the explanation.
In This Section
Selecting and Clearing Check Boxes
Determining a Check Box's State
Related Topics of Interest
Testing Android Open Applications (Legacy)
Simulating Gestures (Multi-Touch Events) (Legacy)
Simulating User Actions Over Android Devices (Legacy)
See Also
Android Checkbox Support
Object-Specific Tasks
Supported Controls
Object Mapping